User Settings

Description

Alpha Anywhere stores certain user settings (specified in View > Settings) in the system registry database under the init key (which is relative to the root key.

You can find these settings in the HKEY_CURRENT_USER\Software\Alpha Software directory in the Registry Editor. Users are discouraged from directly modifying the system registry. Instead, use the REGISTRY.LOAD_SETTINGS() and REGISTRY.SAVE_SETTINGS() functions in your desktop applications to read and write settings in Alpha Anywhere using Xbasic.

The following example shows how you can set the Password field on the Email Settings tab of the View Settings dialog:

'initialize the UserSettings variable
UserSettings.dummy = ""
REGISTRY.LOAD_SETTINGS("Init",UserSettings)
UserSettings.email.client_password = "MyNewPassword"
REGISTRY.SAVE_SETTINGS("Init",UserSettings)

Limitations

Desktop Applications Only